// Button styling --------------------------------------------------------------

.btn, article a.button, article .btn {
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
  padding: 0.5rem 1rem;
  line-height: 16px;
}

article a.button {
  padding: .5rem 1rem;
  margin: 0 0.5rem;
  display: inline-block;
}

.btn.disabled,
button.disabled,
.btn[disabled="disabled"],
button[disabled="disabled"] {
  cursor: not-allowed;
}

.btn-primary code,
.btn-secondary code {
  color: inherit;
}

.btn-primary {
  background: $blue-purple-500;
  font-weight: bold;
  color: $white;
  border: none;
  border-color: transparent;
  &:hover {
    background: $blue-purple-600;
  }

  &.disabled,
  &[disabled="disabled"] {
    background: $blue-purple-700;

    &:hover {
      background: $blue-purple-700;
    }
  }
}

.btn-arrow {
  @include media-breakpoint-down(sm) {
    display: block;
    width: 100%;
  }
  &::after {
    display: inline-block;
    content: url(../img/icons/arrow-right.svg);
    position: relative;
    top: 1px;
    vertical-align: middle;
    padding-left: 8px;
    -webkit-transition: transform 0.3s ease-out;
    -moz-transition: transform 0.3s ease-out;
    -ms-transition: transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
  }
  &:hover {
    background: $blue-purple-600 !important;
    border: none;
    &::after {
      -webkit-transform: translateX(4px);
      -moz-transform: translateX(4px);
      -ms-transform: translateX(4px);
      -o-transform: translateX(4px);
      transform: translateX(4px);
    }
  }
}

.btn-arrow-out::after {
  background-position: left 0px bottom 0px;
  content: "\00a0";
  background-image: url(../img/icons/arrow-up-right-white.svg);
  background-repeat: no-repeat;
  display: inline-block;
  padding: 4px 8px 4px 12px;
  transition: background-position 0.3s ease-in-out;
  margin-left: 4px;
}

.btn-arrow-out:hover::after {
  background-position: left 4px bottom 4px;
}

@media (max-width: 767.98px) {
  .btn-arrow-out {
    display: block;
    width: 100%;
  }
}

/* (Jump to) "Top" button */

.jump-to-top {
  display: none;
  position: fixed;
  bottom: 36px;
  right: 36px;
  font-weight: 700;
  z-index: 1000;

  &::after {
    display: none;
  }
}

.accordian-row {
  background: $gray-800;
  border-radius: 5px;
  padding: 32px;
  h3 {
    a {
      position: relative;
      padding-right: 2rem;
      &:hover {
        color: $white;
      }
      // &::after {
      //   -webkit-transition: transform 0.3s ease-out;
      //   -moz-transition: transform 0.3s ease-out;
      //   -ms-transition: transform 0.3s ease-out;
      //   -o-transition: transform 0.3s ease-out;
      //   transition: transform 0.3s ease-out;
      //   transform: rotateX(180deg);
      //   position: absolute;
      //   right: -32px;
      //   top: calc(50% - 12px);
      //   display: inline-flex;
      //   content: url(../../img/icons/purple-arrow.svg);
      // }
      // &.collapsed {
      //   &::after {
      //     transform: rotateX(360deg);
      //   }
      // }
    }
  }

  .chevron {
    position: absolute;
    top: 0;
    right: 0;
  }

}
